package com.cskaoyan.javase.oop1._15access._2member;

/**
 * 类中(普通/静态)成员和构造器的访问权限修饰符,四种都是可用的
 *
 * @since 10:09
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class Animal {
    private String name;
    int age;
    public double price;

    public void test() {
        System.out.println(name);
        System.out.println(age);
        System.out.println(price);
    }

    public Animal() {
    }
}


